package com.yg.entity.singleEntity;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 对应sheet13，此表是教师指导大学生参加科技竞赛表中的获奖情况部分
 * 注意！此id和科技竞赛表中的id是同一个id
 * </p>
 *
 * @author YingGu
 * @since 2020-11-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "TechnologyCompetitionAward对象", description = "对应sheet13，此表是教师指导大学生参加科技竞赛表中的获奖情况部分注意！此id和科技竞赛表中的id是同一个id")
public class TechnologyCompetitionAward implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "科技竞赛获奖id，同科技竞赛id")
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "等级")
    private String level;

    @ApiModelProperty(value = "受奖人数")
    private Integer number;

    @ApiModelProperty(value = "获奖时间")
    @DateTimeFormat("yyyy-MM-dd")
    private String awardTime;

    @ApiModelProperty(value = "逻辑删除字段  1为删除，0为未删除 默认为0")
    private Integer deleted;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;


}
